package m.jclecai.com.bean;

/**
 * Created by ZD on 2017/5/16.
 */

public class TicketsBean {
    /**
     * ticket_lotteryid : 19
     * ticket_expect : 2017055
     * ticket_codes : 01 13 29 31 33-07 09,04 15 19 26 34-09 11,01 11 16 20 34-02 09,05 08 18 24 29-07 09,19 22 25 30 32-05 06
     * ticket_result : 直选
     * ticket_totalmoney : 40.0000
     * ticket_winmoney : 0.00
     * bonus_content :
     * ticket_selectid : 0
     * ticket_times : 4
     */

    private String ticket_lotteryid;
    private String ticket_expect;
    private String ticket_codes;
    private String ticket_result;
    private String ticket_totalmoney;
    private String ticket_winmoney;
    private String bonus_content;
    private String ticket_selectid;
    private String ticket_times;
    private int ticket_nums;

    public String getTicket_lotteryid() {
        return ticket_lotteryid;
    }

    public void setTicket_lotteryid(String ticket_lotteryid) {
        this.ticket_lotteryid = ticket_lotteryid;
    }

    public String getTicket_expect() {
        return ticket_expect;
    }

    public void setTicket_expect(String ticket_expect) {
        this.ticket_expect = ticket_expect;
    }

    public String getTicket_codes() {
        return ticket_codes;
    }

    public void setTicket_codes(String ticket_codes) {
        this.ticket_codes = ticket_codes;
    }

    public String getTicket_result() {
        return ticket_result;
    }

    public void setTicket_result(String ticket_result) {
        this.ticket_result = ticket_result;
    }

    public String getTicket_totalmoney() {
        return ticket_totalmoney;
    }

    public void setTicket_totalmoney(String ticket_totalmoney) {
        this.ticket_totalmoney = ticket_totalmoney;
    }

    public String getTicket_winmoney() {
        return ticket_winmoney;
    }

    public void setTicket_winmoney(String ticket_winmoney) {
        this.ticket_winmoney = ticket_winmoney;
    }

    public String getBonus_content() {
        return bonus_content;
    }

    public void setBonus_content(String bonus_content) {
        this.bonus_content = bonus_content;
    }

    public String getTicket_selectid() {
        return ticket_selectid;
    }

    public void setTicket_selectid(String ticket_selectid) {
        this.ticket_selectid = ticket_selectid;
    }

    public String getTicket_times() {
        return ticket_times;
    }

    public void setTicket_times(String ticket_times) {
        this.ticket_times = ticket_times;
    }

    public int getTicket_nums() {
        if(ticket_nums <= 0)
            ticket_nums = 1;
        return ticket_nums;
    }

    public void setTicket_nums(int ticket_nums) {
        this.ticket_nums = ticket_nums;
    }
}
